home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 21 / AACD 21.iso / AACD / Utilities / Help / locale / help / english / sys / loadresource.doc < prev    next >
Encoding:
Text File  |  2000-10-06  |  1.5 KB  |  65 lines

  1. LOADRESOURCE
  2.  
  3. Preloads resources into memory to avoid excessive disk swaps.
  4.  
  5. Format
  6.  
  7. LOADRESOURCE {<name>} [LOCK | UNLOCK]
  8.  
  9. Template
  10.  
  11. NAME/M,LOCK/S,UNLOCK/S
  12.  
  13. Location
  14.  
  15. C:
  16.  
  17. LOADRESOURCE reduces the need for excessive disk swaps on floppy-only systems
  18. by preloading the following of resources into memory:
  19.  
  20. Libraries
  21.  
  22. Specify the path name to the library.
  23.  
  24. Devices
  25.  
  26. Specify the path name to the device; you cannot LOCK devices into memory.
  27.  
  28. Fonts
  29.  
  30. Specify the path name to the exact font file to be loaded.
  31.  
  32. Catalogs
  33.  
  34. Specify a path name as LOCALE:Catalogs/<language>/Sys/<catalog>.
  35.  
  36. The {<name>} option specifies the paths of the resources to load. The LOCK
  37. option tells the command to lock resources, such as libraries, fonts, and
  38. catalogs, into memory. This prevents the system from flushing the resource
  39. from RAM if memory is low. Although you can preload devices into memory using
  40. LOADRESOURCE, you cannot force them to stay in memory using the LOCK option.
  41. The UNLOCK option tells the command to unlock the resource from memory,
  42. allowing it to be flushed from RAM.
  43.  
  44. Entering LOADRESOURCE with no options lists all the LOCKed resources in RAM.
  45.  
  46. Example 1:
  47.  
  48. LOADRESOURCE LIBS:asl.library
  49.  
  50. loads asl.library into memory. The system can flush this library from RAM the
  51. next time it runs low on memory, unless the LOCK option is included in the
  52. command line.
  53.  
  54. Example 2:
  55.  
  56. LOADRESOURCE FONTS:topaz/11
  57.  
  58. loads the Topaz 11 font into memory.
  59.  
  60. Example 3:
  61.  
  62. LOADRESOURCE LOCALE:Catalogs/English/Sys/monitors.catalog
  63.  
  64. is a valid path name.
  65.